package de.tg.handball.data;

import java.io.Serializable;

public class Halle implements Serializable {

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	private static final long serialVersionUID = -156321471481974538L;
	private String name = null;
	private String strasse = null;
	private String ort = null;

	public Halle(String name, String strasse, String ort) {
		super();
		this.name = name;
		this.strasse = strasse;
		this.ort = ort;
	}

	public String getStrasse() {
		return strasse;
	}

	public void setStrasse(String strasse) {
		this.strasse = strasse;
	}

	public String getOrt() {
		return ort;
	}

	public void setOrt(String ort) {
		this.ort = ort;
	}

	@Override
	public String toString() {
		return name +"\n"+ strasse + ", "+ ort;
	}
}
